<template>
  <div>
    <van-list :finished="finished" finished-text="没有更多了">
      <van-cell
        v-for="(item, index) in searchTipsListData"
        :key="index"
        @click="cellClick(item.title)"
        :title="item.title"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [1, 2, 3, 4, 5],
      loading: false,
      finished: true,
    };
  },
  props: ["searchTipsListData"],
  methods: {
    cellClick(val) {
      // console.log(val);
      this.$emit('cellClick',val)
    }
  },
};
</script>

<style lang="scss" scoped>
</style>